package io.flutter.plugins;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class NotificationReceiver extends BroadcastReceiver {
    public static final String ACTION_PLAY = "action_play";
    @Override
    public void onReceive(Context context, Intent intent) {
        String action = intent.getAction();
        System.out.println(action);
        switch (action) {
            case ACTION_PLAY:
                System.out.println("clicked playbutton");
                break;
        }
    }
}
